package com.deke.baby.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.deke.common.annotation.Excel;
import com.deke.common.core.domain.BaseEntity;

/**
 * 活动对象 baby_activity
 *
 * @author deke
 * @date 2023-06-28
 */
public class BabyActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 活动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityDate;

    /** 收费 */
    @Excel(name = "收费")
    private Long activityMoney;

    /** 活动内容 */
    @Excel(name = "活动内容")
    private String content;

    /** 是否发布 0未发布，1发布 */
    @Excel(name = "是否发布 0未发布，1发布")
    private Integer isStatus;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setActivityDate(Date activityDate)
    {
        this.activityDate = activityDate;
    }

    public Date getActivityDate()
    {
        return activityDate;
    }
    public void setActivityMoney(Long activityMoney)
    {
        this.activityMoney = activityMoney;
    }

    public Long getActivityMoney()
    {
        return activityMoney;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setIsStatus(Integer isStatus)
    {
        this.isStatus = isStatus;
    }

    public Integer getIsStatus()
    {
        return isStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("name", getName())
            .append("activityDate", getActivityDate())
            .append("activityMoney", getActivityMoney())
            .append("content", getContent())
            .append("isStatus", getIsStatus())
            .toString();
    }
}
